﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Student
    {
            static string Teacher { get; set; }
            string Studentname { get; set; }
            public Student()
            {
                Teacher = "唐僧";
            }
            public Student(string studentname)
            {
                Teacher = "唐僧";
                this.Studentname = studentname;
            }
            public void E6()
            {
                Console.WriteLine("大家好，我是{0}，我的老师叫{1}", this.Studentname, Teacher);
            }

            public static void E7()
            {
                Teacher = "嫦娥姐姐";
            }
    }
}
